package com.mingnew.ecache.util;

import lombok.Getter;

/**
 * @author : lk
 * @date 2021/5/2 11:49
 **/
@Getter
public enum  StatueEnum {
    /**
     * 成功的状态码
     */
    SUCCESS(0,"处理成功"),
    /**
     * 失败的状态码
     */
    ERROR(1,"处理失败");

    private  Integer  code;

    private String message;


    private  StatueEnum (Integer code,String message) {
        this.code=code;
        this.message=message;
    }
}
